package com.baway.home.api

import com.baway.common.api.BaseApiServer
import com.baway.common.entity.BaseResponse
import com.baway.common.entity.NoticeEntity
import retrofit2.http.GET
import retrofit2.http.Query

/**
 * Author: Jason Zhang
 * Date: 2025/8/18
 * Desc: 首页接口
 */
interface HomeApiServer: BaseApiServer {


    @GET("/api/announcements")
    suspend fun loadNoticeData(@Query("page") pageIndex: Int, @Query("size") pageSize: Int): BaseResponse<List<NoticeEntity>>


}